<!DOCTYPE html>
<html lang="es">
    <head>
        <meta charset='<?php echo APP_CHARSET ?>' />
        <title><?php echo Config::get('config.application.name') ?></title>
        <?php View::partial('css') ?>
        <?php View::partial('js') ?>
        <style>
            #form_logueo label{
                width: 75px !important;
            }
            #form_logueo .controls{
                margin-left: 90px !important;
            }
        </style>
    </head>
    <body>
        <?php View::partial('cabecera_app') ?>   
        <div class="container">
            <div id="contenido" class="content">
                <div id="form_logueo" class="modal" style="position:relative; top: auto; left: auto; margin: 0 auto; z-index: 1">
                    <div class="modal-header">
                        <h3>Iniciar Sesi&oacute;n</h3>                        
                    </div>
                    <div class="modal-body">
                        <?php View::content() ?>
                        <?php echo Form::open(NULL, 'post', 'class="form-horizontal"') ?>
                        <div class="control-group">
                            <label for="login">Usuario </label>
                            <div class="controls">
                                <?php echo Form::text('login') ?>
                            </div>
                        </div>
                        <div class="control-group">
                            <label for="clave">Contrase&ntilde;a </label>
                            <div class="controls">
                                <?php echo Form::pass('clave') ?>
                            </div>
                        </div>
                    </div>
                    <div class="modal-footer">
                        <?php echo Form::submit('Ingresar', 'class="btn btn-primary btn-large"') ?>
                    </div>
                    <?php echo Form::close() ?>
                </div>
            </div>
            <footer>
                <p>
                    <?php echo 'Tiempo: ' . round((microtime(1) - START_TIME), 4) . ' seg.';
                    echo ', Memoria Usada: ' . number_format(memory_get_usage() / 1048576, 2) . ' MB'; ?>
                </p>
            </footer>
        </div>
    </body>
</html>
